package midd

import (
	"fmt"
	"week1/server/model/mysql"
	"week1/server/request"
)

// 判断用户状态是否已经启动

func UserIsStatus(user request.DeleteUserInfo) {
	info, err := mysql.IdUserInfo(user)
	if err != nil {
		fmt.Println("服务器错误")
		return
	}
	user.Status = info.Status
	return
}
